{include file="public/header" /}
<body class="gray-bg">
<div class="wrapper wrapper-content">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>计划详情</h5>
                </div>
                <div class="ibox-content layui-form">
                    <div class="layui-row layui-col-space10 layui-form-item ">

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">课程类型：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$info.plan_typename}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">课程编码：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$info.plan_number}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">状态：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{if $info.plan_online==1}上架{else/}下架{/if}" class="layui-input ">
                            </div>
                        </div>
                        <!--xm-select-radio=""-->
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">琴行：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$p_info.pa_name}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">学生：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$p_info.user_username}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">老师：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_typename" disabled  value="{$info.user_username}" class="layui-input ">
                            </div>
                        </div>

                        <div class="layui-form-item layui-col-md-offset1 layui-col-md10">
                            <label class="layui-form-label">授课地址：</label>
                            <div class="layui-input-block">
                                <div class="layui-inline">
                                    <label class="layui-form-label">经度</label>
                                    <div class="layui-input-inline">
                                        <input type="text" disabled value="{$info.plan_lon}" id="lon" name="lon" class="layui-input" placeholder="点击地图上的标记获取经度">
                                    </div>
                                </div>
                                <div class="layui-inline">
                                    <label class="layui-form-label">纬度</label>
                                    <div class="layui-input-inline">
                                        <input type="text" disabled value="{$info.plan_lat}" id="lat" name="lat" class="layui-input" placeholder="点击地图上的标记获取纬度">
                                    </div>
                                </div>
                                <div class="layui-inline layui-col-md8">
                                    <label class="layui-form-label">地址</label>
                                    <div class="layui-input-block">
                                        <input type="text" disabled value="{$info.plan_address}" id="address" name="address" class="layui-input" placeholder="地址">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">上课时间：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_start_time" disabled placeholder="上课时间"  value="{$info.plan_start_time}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">上课结束时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{$info.plan_end_time}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">上课时长(分钟)：</label>
                            <div class="layui-input-block">
                                <input type="number" name="plan_minus" disabled value="{$info.plan_minus}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际上课时间：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_start_time" disabled  value="{$info.plan_real_start ?: '无'}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">实际上课结束时间：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{$info.plan_real_end ?: '无'}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">上课状态：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{if $info.plan_status == 1}未开始{elseif $info.plan_status == 2}进行中{else /}已结束{/if}" class="layui-input ">
                            </div>
                        </div>
                        {if $info.plan_status == 3}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">上课地点类型：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{if $info.plan_way == 1}学生家{else /}琴行{/if}" class="layui-input ">
                            </div>
                        </div>
                        {/if}
                        <!--plan_feedback-->
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">老师反馈：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{if $info.plan_feedback == 1}未反馈{else /}已反馈{/if}" class="layui-input ">
                            </div>
                        </div>
                        {if $info.plan_feedback == 2}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">反馈时间|内容：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{$info.plan_feed_time}" class="layui-input ">
                                <input type="text" disabled value="{$info.plan_feed_content}" class="layui-input ">
                            </div>
                        </div>
                        {/if}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">学生评价：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{if $info.plan_comment == 1}未评价{else /}已评价{/if}" class="layui-input ">
                            </div>
                        </div>
                        {if $info.plan_comment == 2}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">评价时间|星级|内容：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{$info.plan_comment_time}" class="layui-input ">
                                <input type="text" disabled value="{$info.plan_comment_star}" class="layui-input ">
                                <input type="text" disabled value="{$info.plan_comment_content}" class="layui-input ">
                            </div>
                        </div>
                        {/if}
                        <!---->
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">当前课结束时的进度：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{$info.plan_percent}%" class="layui-input ">
                            </div>
                        </div>
                        {if $info.plan_radio}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">上课音频：</label>
                            <div class="layui-input-block">
                                <audio controls="controls" src="{$info.plan_radio}">
                                    Your browser does not support the audio tag.
                                </audio>
                            </div>
                        </div>
                        {/if}
                        {if $info.plan_map}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">轨迹图：</label>
                            <div class="layui-input-block">
                                <img src="{$info.plan_map}" height="200">
                            </div>
                        </div>
                        {/if}
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">在途状态：</label>
                            <div class="layui-input-block">
                                <input type="text" disabled value="{if $info.plan_zaitu == 1}未开始{elseif $info.plan_zaitu == 2}进行中{else /}已结束{/if}" class="layui-input ">
                            </div>
                        </div>


                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">主课/副课：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_list" disabled placeholder="序号，如：1-1"  value="{if $info.plan_type==1}主课{else/}副课{/if}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">序号：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_list" disabled placeholder="序号，如：1-1"  value="{$info.plan_list}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">排序：</label>
                            <div class="layui-input-block">
                                <input type="number" name="plan_sort" disabled placeholder="值越小，越排在前面显示"  value="{$info.plan_sort}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">创建人：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_sort" disabled value="{$info.plan_admin}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <label class="layui-form-label">创建时间：</label>
                            <div class="layui-input-block">
                                <input type="text" name="plan_sort" disabled value="{$info.plan_time}" class="layui-input ">
                            </div>
                        </div>
                        <div class="layui-form-item layui-col-md-offset1 layui-col-md8">
                            <div class="layui-input-block">
                                <button class="layui-btn layui-btn-primary" onclick="wk.layer_close('close')">返回</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
{include file="public/footer" /}
<script>

</script>

</body>
</html>
